package com.zzz.activity;

import android.os.Bundle;
import android.view.LayoutInflater;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.zzz.myexampleapp.R;
import com.zzz.myexampleapp.databinding.ActivitySecBinding;

public class SecActivity extends AppCompatActivity {
    
    private ActivitySecBinding viewBinding;
    

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        viewBinding=ActivitySecBinding.inflate(LayoutInflater.from(this));
        setContentView(viewBinding.getRoot());
        
        //viewBinding
        viewBinding.tv.setText("hello viewbinding!");
    }
}
